package com.zongrentaichai.LJ;

public class Merman {
    private String id;
    private String name;
    private String gender;
    private String home;
    private String food;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;
    }

    @Override
    public String toString() {
        return "动物id：'" + id + '\'' + "\n" +
                ", 动物名称：'" + name + '\'' + "\n" +
                ", 动物性别：'" + gender + '\'' + "\n" +
                ", 动物栖息地：'" + home + '\'' + "\n" +
                ", 动物食物：'" + food + '\'' + "\n" ;
    }
}

